package com.qf.pickname.utils;

import cn.hutool.core.io.FileUtil;

import java.util.List;

public class HutoolDemo {
    public static void main(String[] args) {

        List<String> lines = FileUtil.readLines("D:\\studentnames.txt", "UTF-8");
        for (String line : lines) {
            System.out.println(line);
        }

    }
}
